<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

/**
 * App\Orders
 *
 * @property int $id
 * @property string $order_num 订单号
 * @property int $user_id 下单用户
 * @property float $original_price 原始价格
 * @property int $group_id 拼团活动id
 * @property int $package_id 套餐id
 * @property int $coupon_id 优惠券id
 * @property float $coupon_reduce_price 优惠券减的金额
 * @property float $pay_amount 订单实际成交价格
 * @property string|null $pay_time 支付时间
 * @property string|null $pay_way 支付方式：wechatpay,alipay,unionpay
 * @property int $is_pay 是否支付
 * @property string $remark 备注
 * @property string|null $deleted_at
 * @property \Illuminate\Support\Carbon|null $created_at
 * @property \Illuminate\Support\Carbon|null $updated_at
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders newModelQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders newQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders query()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders whereCouponId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders whereCouponReducePrice($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders whereDeletedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders whereGroupId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders whereIsPay($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders whereOrderNum($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders whereOriginalPrice($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders wherePackageId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders wherePayAmount($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders wherePayTime($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders wherePayWay($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders whereRemark($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders whereUpdatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders whereUserId($value)
 * @mixin \Eloquent
 * @property int $is_success 平团、交易是否成功
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders whereIsSuccess($value)
 * @property int $invite_user_id 邀请用户
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders whereInviteUserId($value)
 * @property string|null $vip_type 会员类型 num：数量会员 time：时间会员
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders whereVipType($value)
 * @property int $pay_integral 支付积分
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders wherePayIntegral($value)
 * @property int $pay_vip_num 会员次数消费
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders wherePayVipNum($value)
 * @property int $review 审核状态 0：审核中 1：通过 2：拒绝
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders whereReview($value)
 * @property string|null $province 省
 * @property string|null $city 市
 * @property string|null $area 区
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders whereArea($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders whereCity($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders whereProvince($value)
 * @property string|null $phone 手机号
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders wherePhone($value)
 * @property string|null $realname 真实姓名
 * @property string|null $sex 性别
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders whereRealname($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders whereSex($value)
 * @property string|null $referrer 订单来源
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders whereReferrer($value)
 */
class Orders extends Model
{
    //
}
